.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  padding: 20px;
  border-bottom: 1px solid #ccc;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navLink {
  margin-right: 20px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 6px;

  &:hover {
    color: #1890ff;
  }

  &:last-child {
    margin-right: 0;
  }
}

.main {
  flex: 1;
  padding: 20px;
}


.navLinkActive {
  color: #1890ff;
  font-weight: 600;
  position: relative;
}

.navLinkActive::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #1890ff;
}
